package edu.ssm.campusAssistant.utils;

import org.springframework.util.DigestUtils;

/**
 * 标题:
 * 描述:
 *
 * @autho LXF
 * @date 2019/4/15 16:05
 */
public class MD5Util {
    public static String EncoderByMD5(String str) {
        String md5 = DigestUtils.md5DigestAsHex(str.getBytes());
        return md5;
    }
}
